﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Student
    {
         string StuName { get; set; }
        public static string TeacharName { get; set; }

        public   Student(string StuName) 
        {
            TeacharName = "唐僧";
            this.StuName = StuName;
        }
        public  void print() 
        {
            Console.WriteLine("大家好，我的名字是{0}，我的老师是{1}",this.StuName, TeacharName);
        }
        public static void ceteacher() 
        {
            TeacharName = "嫦娥";
        }
        }
    }

